Markdown Snippets are closely related to Templates, but instead of defining the content of an entire note, a snippet is a reusable piece of Markdown text that can easily be inserted into a Markdown note.
In the Note Tree:
Then simply type the desired content into the note.
The note's title becomes the title of the snippet. Optionally, you can add a description in the Promoted Attributes section.
To insert a snippet, type /snippet and select
its title from the dropdown.
Code Snippets with their language mode set to "Plain text" are also listed here.